package StudyCode.summary.Basic.myint;

import java.util.Scanner;

/**
 * 版权所有 科技与人文(www.tah1986.com)
 */
public class CircleArea {
	public static void main(String[] args) {
		int radius = 0;
		Scanner scanner = new Scanner(System.in);
		System.out.print("请输入圆形半径并回车:");
		radius = Integer.parseInt(scanner.nextLine());
		double area = Math.PI * radius * radius;
		System.out.println("圆形面积是:" + area);
	}
}
